add Azure Resource Graph service doc#463
Conversation
Deploying localstack-docs with
|
| Latest commit: |
d26391c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://15c84200.localstack-docs.pages.dev |
| Branch Preview URL: | https://harshmishra-doc-81.localstack-docs.pages.dev |
There was a problem hiding this comment.
@HarshCasper / @bblommers, while using az rest to call the Azure Resource Graph is perfectly doable, it's very unusual. Users prefer to install to the az extension resource-graph as follows:
az extension add --name resource-graphand use it as shown in Quickstart: Run Resource Graph query using Azure CLI
az graph query --graph-query 'Resources | project name, type | limit 5'
az graph query --graph-query 'Resources | where type =~ 'Microsoft.Storage/storageAccounts' | project name, location`
...I strongly suggest to refactor the article to use az graph. Said that, I would also keep the az rest you and Bert created to show readers an additional method to invoke the Azure Resource Graph API in Azure as well as our emulator.
I realized that the current implementation throws exceptions with some licit queries, so we need to fix the codebase. I'll take this offline with Bert.
cc: @quetzalliwrites
paolosalvatori
left a comment
There was a problem hiding this comment.
Thanks @HarshCasper, see my comments, amendments, suggestions, and additions.
0924625 to
6e5d8ee
Compare
Made-with: Cursor
6e5d8ee to
d26391c
Compare
Fixes DOC-81